import requests

# 案例1：访问 ASMS 首页
brse_url=r'http://172.16.22.108:8080/bsams/front/asset/asset_list.do'
url=brse_url+''
resp=requests.request('GET',url)
print(resp.status_code)

resp=requests.get(url)
print(resp.status_code)
# 案例2：访问 百度 首页
brse_url=r'https://www.baidu.com/'
url=brse_url+''
resp=requests.request('GET',url)
print(resp.status_code)

resp=requests.get(url)
print(resp.status_code)

# 案例3：访问 豆瓣电影 首页
brse_url=r'https://movie.douban.com/'
url=brse_url
# resp=requests.request('GET',url)
print(resp.status_code)

